import * as request from "@/utils/request"

const API_PREFIX = "/User"

/**
 * 获取当前登录用户信息
 */
export function getCurrentUser() {
  return request.get<UserResponse>({
    url: API_PREFIX + "/GetCurrentUser"
  })
}
